using System.Collections.Generic;

namespace Tickets.Model.Repositories
{
	public interface IRepository<T, IdT>
	{
		T GetById( IdT id );
		IList<T> GetAll();
		void Add( T aggregate );
		void Save( T aggregate );
		void Remove( T aggregate );
	}
}